package com.snow.campuslink.project.constant.Constant;

/**
 * @author gaoshuanglong
 * @ClassName SysConstant
 * @Description 系统级常量
 * @date 2021/1/20 16:34
 */
public class SysConstant {
    /**
     * 接口返回值状态码
     */
    public static class ResponseCode {

        /**
         * 操作成功状态码
         */
        public static final String SUCCESS = "0";

        /**
         * 操作失败状态码
         */
        public static final String FAIL = "-1";

        /**
         * 部分操作失败，需要展示提示信息的状态码
         */
        public static final String PART_FAIL = "-2";
    }


    /**
     * UserLoginServer异常流程返回信息
     */
    public static class UserLoginServiceMsg {

        public static final String PHONE_NUM_NULL = "手机号不能为空";

        public static final String LOGIN_FAIL = "登录失败,帐号或密码错误";

        public static final String REGISTER_FAIL = "用户名或者邮箱被占用";
    }
}
